#pragma once

#ifndef _CLOTITEMPACKET_H_
#define _CLOTITEMPACKET_H_

#include <windows.h>
#include "CBasicPacket.h"
#include "CTreasurePool.h"


class CLotItemPacket : public CBasicPacket
{
public:

	//Casting a lot
	CLotItemPacket(CBaseEntity * pLotter, unsigned char slotID, unsigned short lotterLot, bool displayName);

	//Item was lost
	CLotItemPacket(unsigned char slotID, unsigned char winMsg);

	//Winning by lot / pass
	CLotItemPacket(CBaseEntity * pLotter, CBaseEntity * pWinner, unsigned char slotID, unsigned short lotterLot, unsigned short winnerLot, unsigned char winMsg);

	//Winning by timeout
	CLotItemPacket(CBaseEntity * pWinner, unsigned char slotID, unsigned short winnerLot, unsigned char winMsg);
	
	~CLotItemPacket(void);
};

#endif